﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace _4DJackPot
{
    static class Program
    {
        /// <summary>
        /// 해당 응용 프로그램의 주 진입점입니다.
        /// </summary>
        [STAThread]
        static void Main()
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Login main = new Login();
            //main.FormClosed += new FormClosedEventHandler(FormClosed);
            //main.Show();
            MainForm mainForm = new MainForm();
            mainForm.Show();
            Application.Run();
            

            //Menu menu = new Menu();
            //Application.Run(new Menu());
            //Application.Run(new AdminMenu());
            //Application.Run(new Join());
        }

        /*
        static void FormClosed(object sender, FormClosedEventArgs e)
        {
            ((Form)sender).FormClosed -= FormClosed;
            if (Application.OpenForms.Count == 0) Application.ExitThread();
            else Application.OpenForms[0].FormClosed += FormClosed;
        }
        */
    }
}
